home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Dev / misc / temgen.lha / Temgen / tg-0.11 / strbuf.h < prev    next >
C/C++ Source or Header  |  2002-12-18  |  322b  |  15 lines

  1. #ifndef __strbuf_h_
  2. #define __strbuf_h_
  3.  
  4. struct strbuf;
  5.  
  6. struct strbuf *new_strbuf( unsigned size, unsigned delta );
  7. void free_strbuf( struct strbuf* );
  8. const char *sb_data( struct strbuf* );
  9.  
  10. /* s must be 0-terminated ! */
  11. int sb_cat( struct strbuf*, const char *s, unsigned n );
  12. void sb_clear( struct strbuf* );
  13.  
  14. #endif
  15.